package com.bookcode.service;
import com.bookcode.entity.DemoInfo;
import javassist.NotFoundException;
import java.util.Optional;
public interface DemoInfoService {
    void delete(Long id);
    DemoInfo update(DemoInfo updated) throws NotFoundException;
    Optional<DemoInfo> findById(Long id);
    DemoInfo save(DemoInfo demoInfo);
}
